package com.clx.common.domain.entity;


import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * (Message)实体类
 *
 * @author clx
 * @since 2025-02-23 11:05:09
 */
@Data
@Builder
public class Message extends BaseEntity {
    private static final long serialVersionUID = -19876374628325435L;
    /**
     * id
     */
    private Integer id;
    /**
     * 发送者ID
     */
    private Integer senderId;
    /**
     * 接收者ID
     */
    private Integer receiverId;
    /**
     * 消息内容
     */
    private String content;
    /**
     * 1文本/2文件/3图片
     */
    private Integer type;
    /**
     * 关联文件ID
     */
    private Long fileId;
    /**
     * 关联concat表的id
     */
    private Integer contactId;
    /**
     * 是否已读,0未读，1已读
     */
    private Integer isRead;
    /**
     * 创建时间
     */
    private Date createdTime;
    /**
     * 0未删除，1已删除
     */
    private Integer status;



}

